#include "UI.h"
#include "../Game/gameinfo.h"
#include <stdio.h>
extern Game game;
void browse_handcard(Role* role){
    for(int i=0;i<role->handCardArea.cardCt;++i){
        printf("%d:%s ",i+1,
        role->handCardArea.pile
        [role->handCardArea.pileAdress[i]].name);
    }
    printf("\n");
}

void browse_all_handcard(){
    for (int i=0;i<ROLECT;++i){
        browse_handcard(&(game.roles[i]));
    }
/*
    for(int i=0;i<game.drawPiles.cardCt;++i){
        printf("%d:%s ",i+1,
            game.drawPiles.pile
        [game.drawPiles.pileAdress[i]].name);
    }
    printf("\n");
*/


}